﻿using Sustainalytics.Portfolios.Service.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;

namespace Sustainalytics.Portfolios.Service.Controllers
{
    public interface ISubscribeToPortfolioController
    {
        HttpResponseMessage Get([FromUri] Guid accountId, Guid userId);

        HttpResponseMessage Post([FromBody] object subscriptionDto);

        HttpResponseMessage Put([FromBody] object subscriptionDto);

        HttpResponseMessage Delete(Guid subscriptionId, Guid userId, Guid accountId);

        HttpResponseMessage Patch([FromUri] Guid userId, Guid accountId);

        //used to Enable/Disable the subscription
        HttpResponseMessage Patch([FromUri] Guid id, Guid userId, Guid accountId, bool status);
    }
}
